Welcome![Sign In][Sign Up]
Location:
Search - java how to program

Search list

[JSP/JavaJ_B

Description: 一个很难的数学问题(智力140以下勿进) 旧版Java程序设计Page97 3.12题 庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面是一段很有趣的对话。 庞涓说:我不知道这两个整数是多少,但我肯定你也不知道。 孙膑说:我本来不知道这两个整数是多少。但既然你这么说,那我现在知道了。 庞涓说:哦,那我也知道了。 要求输出所有可能的结果,包括这两个整数之和以及这两个整数之积。 程序设计思路:通过庞涓和孙膑的对话,逐步缩小和的范围,直至得出答案!-A difficult mathematical problem (intelligence not to enter the following 140) old Java programming Page97 3.12 title Pang Juan got two integers (2 to 99) the sum, Sun Bin 2 integers to get the product. Here is a very interesting dialogue. Pang Juan wrote: I do not know how much these two integers, but I am sure you do not know. Sun Bin said: I did not know how much of these two integers. However, as you say so, then I now know. Pang Juan said: Oh, I know. Require the output of all possible results, including the sum of these two integers, as well as the product of these two integers. Program design ideas: By Pang Juan and Sun Bin dialogue, gradually narrowing the scope of, and until the answer!
Platform: | Size: 1024 | Author: qq546703 | Hits:

[JSPQueJava2ProgrammerExamCram2

Description: Welcome to Java™ 2 Programmer Exam Cram 2 (Exam CX-310-035). This book is intended to prepare you for taking and passing the Sun Certified Programmer for the Java 2 Platform 1.4 exam, number CX-310-035, as administered by the Prometric testing organization. This introduction explains Sun s certification program in general and talks about how the Exam Cram series can help you prepare for certification exams-Welcome to Java™ 2 Programmer Exam Cram 2 (Exam CX-310-035). This book is intended to prepare you for taking and passing the Sun Certified Programmer for the Java 2 Platform 1.4 exam, number CX-310-035, as administered by the Prometric testing organization. This introduction explains Sun s certification program in general and talks about how the Exam Cram series can help you prepare for certification exams
Platform: | Size: 670720 | Author: balu | Hits:

[JSP/Javawuziqi

Description: 这事一个用Java编写的五子棋的简单小程序,更多目的是为了让初学者看看Java是怎么一回事-Java this one written with a simple small program backgammon, and more is designed to help beginners see how the thing Java
Platform: | Size: 8192 | Author: 张流 | Hits:

[JSPDataStructuresandAlgorithmsinJava

Description: Data Structures and Algorithms in Java-Data Structures and Algorithms in Java, Second Edition is designed to be easy to read and understand although the topic itself is complicated. Algorithms are the procedures that software programs use to manipulate data structures. Besides clear and simple example programs, the author includes a workshop as a small demonstration program executable on a Web browser. The programs demonstrate in graphical form what data structures look like and how they operate. In the second edition, the program is rewritten to improve operation and clarify the algorithms, the example programs are revised to work with the latest version of the Java JDK, and questions and exercises will be added at the end of each chapter making the book more useful to readers.
Platform: | Size: 2883584 | Author: 张蓝 | Hits:

[JSP/JavaDesenguo420Assign1

Description: Write the Java program and a test plan for the following problem: A printing shop would like to be able to know when to re--‐order paper. The paper used by the shop comes in packages of 500 pages each. You have been asked to create a prototype program for this problem. The program should ask the user to enter the number of packages of paper in stock, how many pages are in the document to be printed, and how many copies are to be made. The output from the program should be the number of packages of paper that will remain after the printing is completed.-Algorithm: Get stock package Get document page Get copy amount The print page = document page* copy amount If print page 500 =0 use used package= print page/500 If print page 500! =0 use used package= print page/500+1 Left package = stock package – print package Output left package
Platform: | Size: 16384 | Author: desenguo | Hits:

[JSP/JavaGridBagLayoutTest

Description: 该程序旨在表名java中的布局管理Gridbaglayout是如何工作的。程序中对各行代码有清楚的注视,能让学习者好好的理解Gridbagconstraint中各个属性的含义,方便在界面设计进行布局设计。-The program is designed in a layout table java management Gridbaglayout how it works. Lines of code for each program have a clear gaze, allowing learners to properly understand the meaning of each attribute in Gridbagconstraint, convenient layout of the interface design.
Platform: | Size: 3072 | Author: 黄翔翔 | Hits:

[JSP/Java5

Description: 编写Java应用程序,程序运行后,根据屏幕提示输入一个数字字符串,回车后统计有多少个偶数数字和奇数数字。-Writing Java applications, program after the operation, according to the screen prompt input a digital string, enter statistics even after how many digital and odd Numbers.
Platform: | Size: 1024 | Author: shuang | Hits:

[androidXavier_GPS

Description: Android 上面的 google map使用程式碼 可幫助使用者了解如何在 android上面使用 map功能 主體語言為 java-Android above google map using the program code to help users understand how android above the main language of the map function for java
Platform: | Size: 7015424 | Author: 陳紹橋 | Hits:

[JSP/JavaPreLoader_V2.0

Description: 初学Java时,需要配置好环境,然后在控制台输入一大堆的路径、文件名,如果您是Java初学者,但掌握了Java编译调试的过程,希望加快调试进程的话,您可以使用本软件,配置好本软件后,您只需要双击.java文件或将文件拖进程序,就可以编译运行。-As a Java beginner, you need to configure environment, then input path, file name in the CMD repeatedly.If you are a Java beginner, but know how the Java compiler processes, and hope to speed up your debugging process, you may need this software.When the configuration of this software is done, what you only need to do is to double-click or drag the java file into the program,and it can compile and run automatically.
Platform: | Size: 282624 | Author: | Hits:

[Windows DevelopTFinanceCalcuh

Description: 此java程序可以有三种用处:1、计算一次性投资本息和。2.计算periiodically投资的本息和。3、计算loan(贷款)一定数目每月应还多少 -This Java program can have three kinds of usefulness: 1 to calculate a one-time investment of principal and interest and (2) calculate periiodically investment of principal and interest. 3 calculation of the loan (loan) a certain number per month should also how much
Platform: | Size: 2048 | Author: zmougang | Hits:

[Windows DevelopProgressDialogSample

Description: ProgressDialog Java源代码,Android程序处理过程中的进度对话框,玩过Android手机的朋友大概都清楚,在操作一些程序的时候,Android手机会显示Loading,提示程序正在处理中,这个Dialog对话框可很好的提示用户要稍做等待,那么它是如何实现的,本源码会告诉你原理。-The ProgressDialog Java source code, Android programming process in progress dialog box, played Android phone friends probably are aware, in the operation of some programs, Android phones will display Loading, prompted the program being processed, the Dialog dialog box can be verygood prompt users to be slightly waiting for, then how it is implemented, will tell you the source principle.
Platform: | Size: 54272 | Author: 苏小红 | Hits:

[JSP/JavaJUSB

Description: JAVA通常是不能够与机器硬件进行交互的,但某些项目确实需要与硬件进行通讯。本JAR包提供了JAVA程序如何监控USP接口的方法。-JAVA usually is not with the machine hardware interact, but some projects do need to communicate with the hardware. The JAR package provides a JAVA program to how monitoring USP interface method.
Platform: | Size: 186368 | Author: HEQIOU | Hits:

[Game ProgramChatroom

Description: 这是一个包含用户界面的聊天软件,使用Java语言进行编辑。 采用了非常高效的编码逻辑,可以实现server端和client端。-It is the implementation of GUI for a chat room program. Behaviors (Server) When the server starts up, it should try to load from “accounts.dat” for saved accounts o Each account consists of the username, the password and last login time of the user o You need to decide how the data should be stored o The file should be created automatically if it does not exist. The server should update “accounts.dat” accordingly whenever is needed. The server should handle connections from clients o When a client login or logout, the server should update all other clients about it o When a client send a message, the server should redirect the message to all other clients o When a client change password, the server should update its record accordingly The server should communicate with the client by sending objects (i.e., using ObjectInputStream and ObjectOutputStream) For the client The buddy list will be updated automatically when someone logged in or out. When a user send a messag
Platform: | Size: 7168 | Author: 小水狐 | Hits:

[WEB Codejava40demos

Description: 一些学习Java的资料,Java初学者经典四十题及源代码,【程序1】 题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第四个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?   1.程序分析: 兔子的规律为数列1,1,2,3,5,8,13,21.... -Some information on learning Java, Java beginners forty classic title and source code, [1] Program Title: classical problem: a pair of rabbits, the first three months after birth were born a month rabbits, bunnies long Four months after the first month, gave birth to a pair of rabbits, if the rabbit is not dead, the total number of rabbits and asked how much per month? 1 Program analysis: the law of the rabbit several columns 1,1,2,3,5,8,13,21 ....
Platform: | Size: 82944 | Author: npudn43 | Hits:

[Fractal programAOE

Description: 2、设计一个程序求出完成整项工程至少需要多少时间以及整项工程中的关键活动。 实验步骤: ①、在Java语言编辑环境中新建程序,输入如下图所示的AOE网; ②、按照关键路径求取步骤,求出各个顶点的最早开始时间和最迟开始时间; ③、求出各个活动的最早开始时间和最迟开始时间; ④、找出该AOE网的关键路径,并计算出该项目的完成时间。-How much time, and the whole project is a key activity in the design of a program determined to complete the entire project would need at least.
Platform: | Size: 6144 | Author: 甘颖乐 | Hits:

[JSP12a9d56d652af25f6e3bcaa45a3e744d

Description: Their success doesn t surprise me, because I ve seen it in Smalltalk for many years, though unfortunately, it seems to have remained one of the secrets of object-oriented design. I am happy to see that Felleisen and Friedman have finally exposed it. This book will be especially useful if you are a C++ programmer learning Java, since you probably haven t seen functional program design before. If you know functional design, the book will gently introduce you to pattern-based programming in Java. If you don t know it, Felleisen and Friedman will teach you a powerful new way of thinking that you should add to your design toolbox.-Felleisen and Friedman show that the functional (input-output driven) method of program design naturally leads to the use of well-known object-oriented design patterns. In fact, they integrate the two styles seamlessly and show how well they work together. Their book proves that the functional design method does not clash with, but supports object-oriented programming.
Platform: | Size: 13147136 | Author: 婕洁 | Hits:
« 1 2 ... 15 16 17 18 19 20»

CodeBus www.codebus.net